<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
    <meta name="renderer" content="webkit">
    <title></title>
    <link rel="stylesheet" href="{:C('ADMIN_CSS_URL')}pintuer.css">
    <link rel="stylesheet" href="{:C('ADMIN_CSS_URL')}admin.css">
    <script src="{:C('ADMIN_JS_URL')}jquery.js"></script>
    <script src="{:C('ADMIN_JS_URL')}pintuer.js"></script>
</head>
<body>
<div class="panel admin-panel margin-top">
    <div class="panel-head" id="add"><strong><span class="icon-pencil-square-o"></span>修改分类</strong></div>
    <div class="body-content">
        <form method="post" class="form-x" action="">
            <foreach name="cate_info" item="v">
                <input type="hidden" name="cate_id" value="{$v.cate_id}">
                <div class="form-group">
                    <div class="label">
                        <label>分类标题：</label>
                    </div>
                    <div class="field">
                        <input type="text" class="input w50" name="cate_name" value="{$v.cate_name}"/>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label>分类描述：</label>
                    </div>
                    <div class="field">
                        <textarea type="text" class="input w50" name="cate_description" style="height:150px;">{$v.cate_description}</textarea>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label" style="float: left">
                        <label>是否显示：</label>
                    </div>
                    <div class="field">
                        <if condition="$v['is_show'] eq 0">
                            <input type="radio" class="input" name="is_show" value="0" checked/>显示
                            <input type="radio" class="input" name="is_show" value="1" />不显示
                            <else/>
                            <input type="radio" class="input" name="is_show" value="0" />显示
                            <input type="radio" class="input" name="is_show" value="1" checked/>不显示
                        </if>
                    </div>
                </div>
                <div class="form-group">
                    <div class="label">
                        <label></label>
                    </div>
                    <div class="field">
                        <button class="button bg-main icon-check-square-o" type="submit"> 修改</button>
                    </div>
                </div>
            </foreach>
        </form>
    </div>
</div>
</body>
</html>